﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class GoldCoin : MonoBehaviour
{
    public int coin_num;//金币数
    public Text coin_text;
    void Start()
    {
        coin_num = 0;
    }

    void Update()
    {
        coin_text.text = coin_num.ToString();
    }
}
